package ace.module.account.core.impl.service.impl;

import ace.module.account.api.model.config.IamAccountBaseConfig;
import ace.module.account.core.impl.manager.IamApplicationConfigManager;
import ace.module.account.core.impl.service.IamAccountConfigService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author caspar
 * @date 2023/3/18 16:16
 */
@Component
@AllArgsConstructor
public class IamAccountServiceConfigImpl implements IamAccountConfigService {
  private final IamApplicationConfigManager accountConfigManager;

  @Override
  public IamAccountBaseConfig getBaseConfig(Long appBizTypeId) {
    return this.accountConfigManager.getBaseConfig(appBizTypeId);
  }
}
